package com.mobisys.live.dao.model;

import com.mobisys.live.util.UUIDUtil;

import java.util.Date;

public class Video {
    private String id;

    private String userId;

    private String channelId;

    private String groupid;

    private String liveId;

    private String playUrl;

    private Byte isDelete;

    private String title;

    private String introduction;

    private String coverPictureId;

    private Integer likeCount;

    private Integer viewCount;

    private Date createTime;

    private String type;

    private String tag;

    private String tVideoId;

    private String tVideoUrl;

    private String tFileSize;

    private Integer tStartTime;

    private Integer tEndTime;

    private String tFileId;

    private String tFileFormat;

    private Integer tVod2flag;

    private String tRecordFileId;

    private Integer tDuration;

    private String tStreamParam;

    private Integer authorizedViewingType;

    private String authorizedViewingDescip;

    public Video(){
        this.id= UUIDUtil.getUUID();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId == null ? null : channelId.trim();
    }

    public String getGroupid() {
        return groupid;
    }

    public void setGroupid(String groupid) {
        this.groupid = groupid == null ? null : groupid.trim();
    }

    public String getLiveId() {
        return liveId;
    }

    public void setLiveId(String liveId) {
        this.liveId = liveId == null ? null : liveId.trim();
    }

    public String getPlayUrl() {
        return playUrl;
    }

    public void setPlayUrl(String playUrl) {
        this.playUrl = playUrl == null ? null : playUrl.trim();
    }

    public Byte getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Byte isDelete) {
        this.isDelete = isDelete;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction == null ? null : introduction.trim();
    }

    public String getCoverPictureId() {
        return coverPictureId;
    }

    public void setCoverPictureId(String coverPictureId) {
        this.coverPictureId = coverPictureId == null ? null : coverPictureId.trim();
    }

    public Integer getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Integer likeCount) {
        this.likeCount = likeCount;
    }

    public Integer getViewCount() {
        return viewCount;
    }

    public void setViewCount(Integer viewCount) {
        this.viewCount = viewCount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag == null ? null : tag.trim();
    }

    public String gettVideoId() {
        return tVideoId;
    }

    public void settVideoId(String tVideoId) {
        this.tVideoId = tVideoId == null ? null : tVideoId.trim();
    }

    public String gettVideoUrl() {
        return tVideoUrl;
    }

    public void settVideoUrl(String tVideoUrl) {
        this.tVideoUrl = tVideoUrl == null ? null : tVideoUrl.trim();
    }

    public String gettFileSize() {
        return tFileSize;
    }

    public void settFileSize(String tFileSize) {
        this.tFileSize = tFileSize == null ? null : tFileSize.trim();
    }

    public Integer gettStartTime() {
        return tStartTime;
    }

    public void settStartTime(Integer tStartTime) {
        this.tStartTime = tStartTime;
    }

    public Integer gettEndTime() {
        return tEndTime;
    }

    public void settEndTime(Integer tEndTime) {
        this.tEndTime = tEndTime;
    }

    public String gettFileId() {
        return tFileId;
    }

    public void settFileId(String tFileId) {
        this.tFileId = tFileId == null ? null : tFileId.trim();
    }

    public String gettFileFormat() {
        return tFileFormat;
    }

    public void settFileFormat(String tFileFormat) {
        this.tFileFormat = tFileFormat == null ? null : tFileFormat.trim();
    }

    public Integer gettVod2flag() {
        return tVod2flag;
    }

    public void settVod2flag(Integer tVod2flag) {
        this.tVod2flag = tVod2flag;
    }

    public String gettRecordFileId() {
        return tRecordFileId;
    }

    public void settRecordFileId(String tRecordFileId) {
        this.tRecordFileId = tRecordFileId == null ? null : tRecordFileId.trim();
    }

    public Integer gettDuration() {
        return tDuration;
    }

    public void settDuration(Integer tDuration) {
        this.tDuration = tDuration;
    }

    public String gettStreamParam() {
        return tStreamParam;
    }

    public void settStreamParam(String tStreamParam) {
        this.tStreamParam = tStreamParam == null ? null : tStreamParam.trim();
    }

    public Integer getAuthorizedViewingType() {
        return authorizedViewingType;
    }

    public void setAuthorizedViewingType(Integer authorizedViewingType) {
        this.authorizedViewingType = authorizedViewingType;
    }

    public String getAuthorizedViewingDescip() {
        return authorizedViewingDescip;
    }

    public void setAuthorizedViewingDescip(String authorizedViewingDescip) {
        this.authorizedViewingDescip = authorizedViewingDescip == null ? null : authorizedViewingDescip.trim();
    }
}